<div class="modal-body">
    <form class = "form-horizontal" enctype='multipart/form-data' method='post' action='javascript:;' role = "form" id = "frmUploadFile">
        <div class = "form-group">
            <label class = "control-label col-sm-2">上传选择</label>
            <div class = "col-sm-4">
                <input type = "file" name = "files" class = "form-control" />
            </div>
        </div>
        <div class = "form-group">
            <div class = "col-sm-offset-2 col-sm-4">
                <button class = "btn btn-primary" ng-click = "uploadFile()">上传</button>
                <span class = "help-inline" id = "spanMessage">选择文件，并上传</span>
            </div>
        </div>
    </form>
</div>